package com.lulin.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lulin.common.utils.PageUtils;
import com.lulin.mall.member.entity.MemberEntity;
import com.lulin.mall.member.vo.MemberLoginVo;
import com.lulin.mall.member.vo.MemberRegisterVo;
import com.lulin.mall.member.vo.SocialUser;

import java.util.Map;

/**
 * 会员
 *
 * @author lulin
 * @email 2032327049@qq.com
 * @date 2022-09-21 17:16:01
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 会员注册
     */
    void register(MemberRegisterVo vo);

    /**
     * 用户登录
     */
    MemberEntity login(MemberLoginVo vo);
    /**
     * 微博社交登录
     */
    MemberEntity weiboSocialLogin(SocialUser vo);
}

